package com.zone.component_home.repository

import com.zone.api.model.ApiResponse
import com.zone.api.model.LoginReqBean
import com.zone.api.model.LoginResBean
import com.zone.api.service.ApiService


class DataHttpRepository(val apiService: ApiService){
    private val TAG = "DataHttpRepository"

    suspend fun getLogin(): ApiResponse<LoginResBean> {
        val body = LoginReqBean("", "last")
        apiService.reqLogin(body).let {
            return it
        }

    }
}